Skip to content

config/microblaze: fix whitespace in LINK_SPEC is breaking linking #59

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: zephyr-gcc-14.3.0
Choose a base branch
from

Conversation

alpsayin
Copy link

@alpsayin alpsayin commented Aug 5, 2025

whitespace is causing the intended output of -dT xilinx.ld%s to be split and takeninto if-exists-then-else as 2nd and 3rd arguments so LINK_SPEC emits -dT when xilinx.ld is found, and emits xilinx.ld when not found.

Testing:
I've sneakily pushed this patch into #58 to get a toolchain out and tested it with picolibc.

whitespace is causing the intended output of `-dT xilinx.ld%s` to be split
and takeninto if-exists-then-else as 2nd and 3rd arguments so LINK_SPEC
emits `-dT` when xilinx.ld is found, and emits xilinx.ld when not found.

Signed-off-by: Alp Sayin <[email protected]>
@alpsayin alpsayin self-assigned this Aug 5, 2025
@alpsayin alpsayin added the bug Something isn't working label Aug 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants